package org.tinygroup.sdpm.zhang.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.tinygroup.sdpm.zhang.business.inter.UserManager;
import org.tinygroup.sdpm.zhang.dao.inter.pojo.User;
import org.tinygroup.sdpm.zhang.service.inter.MyUserServiceInter;

@Component
public class MyUserServiceImpl implements MyUserServiceInter {

    @Autowired
    private UserManager userManager;
    @Override
    public User getUserByKey(String pk) {
        return userManager.getByKey(pk);
    }
}
